package com.smart_campus.teg.service;

import com.smart_campus.sys.common.DataGridView;
import com.smart_campus.teg.vo.StudentVo;
import com.smart_campus.teg.vo.TeacherVo;
import org.springframework.stereotype.Service;

/**
 * @aytgor 陈鹏
 * @date 2020/6/20 9:07
 */
public interface PersonnelService {
    /**
     * 获取老师
     * @return
     */
    DataGridView TeacherList(TeacherVo teacherVo);

    /**
     * 获取学生
     * @return
     */
    DataGridView StudentList(StudentVo studentVo);

    /**
     * 获取老师课程
     * @param id
     * @return
     */
    DataGridView CourseTeacher(Integer id);

    /**
     * 设置老师课程
     * @param uid
     * @param Cids
     */
    void setCourseTeacher(Integer uid, Integer[] Cids);

    /**
     * 获取学生的班级
     * @param id
     * @return
     */
    DataGridView getStudentClass(Integer id);

    void setStudentClass(Integer uid,Integer cid);
}
